package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/4/7.
 */
public class AddPersonTeamBean extends BaseBean{

    /**
     * result : 1
     * info : [{"team_id":"14","team_name":"擦擦擦","logo_img":"http://www.uhousing.cn/Uploads/Picture/teamImg/2017-04-06/58e5f64aa1d4e.jpg","create_at":"2017-04-06","team_user":[{"user_id":"792","user_name":"我是测试账号","telephone":"18379191254","user_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-04-05/58e506945f234.jpg"},{"user_id":"791","user_name":"李涛","telephone":"18339475129","user_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-04-05/58e4668f2214a.jpg"}]}]
     */

    private String result;
    /**
     * team_id : 14
     * team_name : 擦擦擦
     * logo_img : http://www.uhousing.cn/Uploads/Picture/teamImg/2017-04-06/58e5f64aa1d4e.jpg
     * create_at : 2017-04-06
     * team_user : [{"user_id":"792","user_name":"我是测试账号","telephone":"18379191254","user_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-04-05/58e506945f234.jpg"},{"user_id":"791","user_name":"李涛","telephone":"18339475129","user_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-04-05/58e4668f2214a.jpg"}]
     */

    private List<InfoEntity> info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(List<InfoEntity> info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public List<InfoEntity> getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean{
        private String team_id;
        private String team_name;
        private String logo_img;
        private String create_at;

        /**
         * user_id : 792
         * user_name : 我是测试账号
         * telephone : 18379191254
         * user_img : http://www.uhousing.cn/Public/Admin/Upload_pic/2017-04-05/58e506945f234.jpg
         */

        private List<TeamUserEntity> team_user;

        public void setTeam_id(String team_id) {
            this.team_id = team_id;
        }

        public void setTeam_name(String team_name) {
            this.team_name = team_name;
        }

        public void setLogo_img(String logo_img) {
            this.logo_img = logo_img;
        }

        public void setCreate_at(String create_at) {
            this.create_at = create_at;
        }

        public void setTeam_user(List<TeamUserEntity> team_user) {
            this.team_user = team_user;
        }

        public String getTeam_id() {
            return team_id;
        }

        public String getTeam_name() {
            return team_name;
        }

        public String getLogo_img() {
            return logo_img;
        }

        public String getCreate_at() {
            return create_at;
        }

        public List<TeamUserEntity> getTeam_user() {
            return team_user;
        }

        public static class TeamUserEntity extends BaseBean{
            private String user_id;
            private String user_name;
            private String telephone;
            private String user_img;
            private boolean select = false;

            public void setSelect(boolean select) {
                this.select = select;
            }

            public boolean isSelect() {
                return select;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public void setUser_img(String user_img) {
                this.user_img = user_img;
            }

            public String getUser_id() {
                return user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public String getTelephone() {
                return telephone;
            }

            public String getUser_img() {
                return user_img;
            }
        }
    }
}
